<? namespace Bitrix\Landing;$GLOBALS['____1474617167']= array(base64_decode('ZGVm'.'aW5l'),base64_decode('aW5fYXJ'.'yYX'.'k='),base64_decode(''.'cHJlZ19tY'.'XRjaF9hbGw='),base64_decode('YX'.'JyY'.'X'.'l'.'fbWVyZ2U='),base64_decode('Y'.'XJyY'.'X'.'lfdmFsd'.'W'.'Vz'),base64_decode('YXJyYXlfdW5pcXV'.'l'),base64_decode('c'.'3Vic3Ry'),base64_decode('a'.'W5fYX'.'JyYXk'.'='),base64_decode('ZX'.'hwb'.'G9kZQ=='),base64_decode('cGFjaw=='),base64_decode('bWQ1'),base64_decode('Y2'.'9uc'.'3'.'RhbnQ='),base64_decode('a'.'GFzaF9obWFj'),base64_decode('c'.'3RyY'.'21w'),base64_decode(''.'ZXhw'.'bG'.'9kZ'.'Q='.'='),base64_decode('bWt0aW'.'1'.'l'),base64_decode('dGltZQ'.'=='),base64_decode('ZXhwbG9'.'kZQ=='),base64_decode('c'.'GFjaw'.'=='),base64_decode('bWQ1'),base64_decode('Y29uc3R'.'hbnQ='),base64_decode('aGF'.'z'.'a'.'F9obWFj'),base64_decode(''.'c3R'.'y'.'Y21w'),base64_decode('ZXh'.'wb'.'G9'.'kZQ=='),base64_decode('bW'.'t0a'.'W1l'),base64_decode('dGltZQ'.'='.'='),base64_decode('aW5'.'fYXJy'.'YXk='),base64_decode(''.'cHJl'.'Z19yZXBsYWNlX'.'2NhbGxiY'.'W'.'Nr'),base64_decode('bWJfc3RydG9sb3d'.'lcg=='),base64_decode('cHJl'.'Z19yZ'.'XB'.'s'.'YWNlX2N'.'hbGxiYWNr'),base64_decode('cHJlZ'.'19yZXBsYWNl'.'X2NhbG'.'xiYW'.'Nr'),base64_decode(''.'bWJ'.'fc'.'3RydG9sb3d'.'lcg=='),base64_decode(''.'c3RyX3JlcGxhY2'.'U='),base64_decode(''.'c'.'HJlZ19t'.'Y'.'X'.'Rj'.'aA=='),base64_decode('cHJlZ19'.'yZXB'.'sYWN'.'lX2NhbGx'.'iYWNr'));if(!function_exists(__NAMESPACE__.'\\___105759587')){function ___105759587($_1188165891){static $_926186729= false; if($_926186729 == false) $_926186729=array(''.'TEFOR'.'El'.'O'.'R19NVVRB'.'VE9SX'.'01'.'PREU=',''.'c'.'nU=','Yn'.'k=','a3o=','U'.'EhPTkVf'.'Tk9'.'UX0NPTkZJUk1FRA==','TEFO'.'REl'.'O'.'R19QSE'.'9ORV'.'9OT1RfQ09'.'ORklSTUVE','RU1'.'BSUxfTk9UX0NPT'.'kZJ'.'Uk1F'.'R'.'A==','T'.'EFORE'.'lOR19FTUFJTF9OT1'.'RfQ'.'09'.'ORkl'.'STUVE','YWxs'.'b'.'3'.'dfc2t'.'pcF9w'.'a'.'G9u'.'ZV9'.'2'.'ZXJp'.'ZmljYX'.'Rpb24=','WQ==','Yml0cml4MjQ=',''.'bGFu'.'ZG'.'luZ19za'.'2lw'.'X3Bo'.'b'.'25lX3ZlcmlmaWNhdGlvbg'.'='.'=','bGFu'.'ZGl'.'uZw==','b25MYW5k'.'aW5nU'.'3'.'R'.'hcnRQdW'.'Jsa'.'W'.'NhdGlvbg==','aWQ=',''.'Y'.'mxvY2tJ'.'ZA==',''.'c2l0Z'.'Ulk','bGFuZGlu'.'Z1'.'91cmxjaGV'.'ja2'.'V'.'y'.'X'.'2tleQ==','c2'.'VsZWN0','Q09'.'OVEVOVA==','Zmls'.'dG'.'Vy','TElE',''.'PURFTEVU'.'RUQ'.'=','Tg='.'=',''.'PUFDVElWRQ==',''.'WQ==','PV'.'BVQ'.'kxJQw==',''.'Tg==','IygoaH'.'R0c'.'HxmdHB8aHR0'.'c'.'HMpOi8'.'vW'.'14nIlxzPF0rK'.'SNpc'.'w==','Q09OVEVOV'.'A==',''.'aHR0c'.'H'.'M6L'.'y9'.'wc'.'mV2aWV3'.'LmJpdHJp'.'eDI0L'.'n'.'Np'.'dG'.'UvdG9vbHMvd'.'XJsY'.'2hlY'.'2tlc'.'i5waHA'.'=','a2V'.'5','dXJs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Q'.'UN'.'U'.'SVZF','QU'.'NUSVZF',''.'Q'.'U5DS'.'E9'.'S','QU5DSE9S','WE1'.'M'.'X0lE','WE1MX'.'0lE','QUN'.'DR'.'V'.'NT','QUNDRVNT',''.'REV'.'TS'.'Ud'.'ORUQ'.'=',''.'REVTSUdORUQ=','U0'.'9V'.'UkNFX1BB'.'U'.'kFN'.'Uw='.'=','U09VUkNFX1BBUk'.'F'.'N'.'Uw==',''.'Q0'.'9O'.'VE'.'V'.'OV'.'A='.'=','Q09'.'O'.'V'.'EVOVA==',''.'U0VBUkNIX0'.'NPTlRFTlQ=','U0'.'VB'.'UkNIX0NPTlR'.'FTl'.'Q=','QVNTRVRT',''.'Q'.'VN'.'TRVR'.'T','U'.'EFSRU5U'.'X0lE','Q09'.'O'.'V'.'EVOVA'.'='.'=','T'.'ElE',''.'Q09ERQ==',''.'Q'.'09ERQ'.'==','Q09ERV'.'9PUklHSU'.'5BTA='.'=','Q0'.'9E'.'RV'.'9P'.'U'.'kl'.'HSU5BTA='.'=','U0'.'9S'.'VA'.'='.'=','U'.'09S'.'VA==','QU5DSE9S','QU'.'5DSE9S','Yg==','WE1'.'M'.'X0lE','W'.'E1MX0'.'lE','Q'.'UNUSV'.'ZF','QUN'.'USVZF','QU'.'NDRVNT','Q'.'UNDRVNT',''.'REVTSU'.'dORUQ'.'=',''.'REVTSUd'.'O'.'RUQ=','U09'.'V'.'U'.'kNFX1BBUkFNU'.'w'.'==','U09VUkNFX1BBUkF'.'NU'.'w==','Q09O'.'V'.'EVOV'.'A'.'==','Q'.'0'.'9OVEVO'.'VA==','U'.'0VBUkNIX0NPTlRFTlQ=','U0VBUkN'.'IX0'.'NP'.'T'.'l'.'R'.'FTlQ'.'=','QVNTRVRT','QVN'.'TRVRT','UEF'.'SRU5U'.'X0lE','Q0'.'9OVEVOVA==',''.'Q'.'09OVEVOVA==','Q09O'.'VEVOVA'.'==','Q09OV'.'EVOVA='.'=','I2J'.'sb2Nr',''.'I2Jsb2Nr','Q09OVEVOVA==');return base64_decode($_926186729[$_1188165891]);}}; use Bitrix\Bitrix24\Feature; use Bitrix\Landing\Assets; use Bitrix\Landing\Block\Cache; use Bitrix\Landing\Internals\HookDataTable as HookData; use Bitrix\Landing\Restriction; use Bitrix\Rest\AppTable; use Bitrix\Main\Config\Configuration; use Bitrix\Main\Event; use Bitrix\Main\EventResult; use Bitrix\Main\Localization\Loc; use Bitrix\Main\Web\HttpClient; Loc::loadMessages(__FILE__); $GLOBALS['____1474617167'][0](___105759587(0), true); class Mutator{  public static function checkSiteVerification(int $_2049250814, Error $_1367871182): bool{ $_1148144011= Manager::getZone();  if(!$GLOBALS['____1474617167'][1]($_1148144011,[___105759587(1), ___105759587(2), ___105759587(3)]) &&!self::__1571520894()){ if(!Restriction\Site::isPhoneConfirmed($_2049250814)){ $_1367871182->addError( ___105759587(4), Loc::getMessage(___105759587(5))); return false;}}  else if(!Restriction\Site::isEmailConfirmed($_2049250814)){ $_1367871182->addError( ___105759587(6), Loc::getMessage(___105759587(7))); return false;} return true;}  private static function __1571520894(): bool{ if(Manager::getOption(___105759587(8)) === ___105759587(9)){ return true;} if(!\Bitrix\Main\Loader::includeModule(___105759587(10))){ return true;} return Feature::isFeatureEnabled(___105759587(11));}  public static function landingPublication(Landing $landing, $_1600647847= null, bool $_994339733= false): bool{ static $_238606561=[]; static $_637246756=[]; Manager::disableAllFeaturesTmp(); if(!$landing->exist()){ return false;}  $_1795342915= new Event(___105759587(12), ___105759587(13), array( ___105759587(14) => $landing->getId(), ___105759587(15) => $_1600647847, ___105759587(16) => $landing->getSiteId())); $_1795342915->send(); foreach($_1795342915->getResults() as $_1925697885){ if($_1925697885->getType() == EventResult::ERROR){ foreach($_1925697885->getErrors() as $_1367871182){ $landing->getError()->addError( $_1367871182->getCode(), $_1367871182->getMessage());} return false;}} if(!self::checkSiteVerification($landing->getSiteId(), $landing->getError())){ return false;}  if((1132/2-566))  if($_1513738801= Configuration::getValue(___105759587(17))){ $_790998724=[]; $_37950655= Block::getList([ ___105759587(18) =>[ ___105759587(19)], ___105759587(20) =>[ ___105759587(21) => $landing->getId(), ___105759587(22) => ___105759587(23), ___105759587(24) => ___105759587(25), ___105759587(26) => ___105759587(27)]]); while($_2140654060= $_37950655->fetch()){ if($GLOBALS['____1474617167'][2](___105759587(28), $_2140654060[___105759587(29)], $_659689277)){ $_790998724= $GLOBALS['____1474617167'][3]($_790998724, $_659689277[round(0+0.2+0.2+0.2+0.2+0.2)]);}} $_790998724= $GLOBALS['____1474617167'][4]($GLOBALS['____1474617167'][5]($_790998724)); $_266298655= new HttpClient; if($_790998724){ $_1145950405= $_266298655->post(___105759587(30),[ ___105759587(31) => $_1513738801, ___105759587(32) => $_790998724, ___105759587(33) => \Bitrix\Main\Application::getInstance()->getContext()->getServer()->get(___105759587(34))]); if($_1145950405 && $_1145950405 !== ___105759587(35)){ $landing->getError()->addError( ___105759587(36), Loc::getMessage(___105759587(37))); return false;}}}  if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_PAGE, array( ___105759587(38) => array( ___105759587(39) => $landing->getId())))){ $landing->getError()->addError( ___105759587(40), Restriction\Manager::getSystemErrorMessage(___105759587(41))); return false;}  $_158032537= $landing->getMeta(); if( isset($_158032537[___105759587(42)]) && \Bitrix\Main\Loader::includeModule(___105759587(43))){ $_37950655= AppTable::getList([ ___105759587(44) =>[ ___105759587(45) => $_158032537[___105759587(46)]]]); if($_2140654060= $_37950655->fetch()){ $_1044285338= AppTable::getAppStatusInfo($_2140654060, ___105759587(47)); if($_1044285338[___105759587(48)] != ___105759587(49)){ $landing->getError()->addError( ___105759587(50), Restriction\Manager::getSystemErrorMessage(___105759587(51))); return false;}}}  $_1742533040=[]; $_37950655= Block::getList([ ___105759587(52) =>[ ___105759587(53)], ___105759587(54) =>[ ___105759587(55) => $landing->getId(), ___105759587(56) => ___105759587(57), ___105759587(58) => ___105759587(59), ___105759587(60) => ___105759587(61), ___105759587(62) => ___105759587(63)]]); while($_2140654060= $_37950655->fetch()){ $_1742533040[]= $GLOBALS['____1474617167'][6]($_2140654060[___105759587(64)], round(0+1.25+1.25+1.25+1.25));} if(!empty($_1742533040)){ foreach(Repo::getAppInfo($_1742533040) as $_1458924296){ if(($_1458924296[___105759587(65)] ?? ___105759587(66)) !== ___105759587(67)){ $landing->getError()->addError( ___105759587(68), Restriction\Manager::getSystemErrorMessage(___105759587(69))); return false;}}}  if(!$GLOBALS['____1474617167'][7]($landing->getSiteId(), $_637246756)){ $_637246756[]= $landing->getSiteId(); $_37950655= Site::getList(array( ___105759587(70) => array( ___105759587(71), ___105759587(72)), ___105759587(73) => array( ___105759587(74) => $landing->getSiteId(), ___105759587(75) => ___105759587(76), ___105759587(77) => ___105759587(78)))); if($_2140654060= $_37950655->fetch()){ if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_SITE,[ ___105759587(79) =>[ ___105759587(80) => $_2140654060[___105759587(81)]], ___105759587(82) => $_2140654060[___105759587(83)]])){ $_1236226919= Manager::licenseIsFreeSite($_2140654060[___105759587(84)]) &&!Manager::isFreePublicAllowed()? ___105759587(85): ___105759587(86); $_198497297= Manager::licenseIsFreeSite($_2140654060[___105759587(87)]) &&!Manager::isFreePublicAllowed()? ___105759587(88): ___105759587(89); $landing->getError()->addError( $_1236226919, Restriction\Manager::getSystemErrorMessage($_198497297)); return false;}}}  if(\Bitrix\Landing\Hook\Page\HeadBlock::isLockedFeature()){ $_1260705757=[$landing->getId()];  $_37950655= Landing::getList([ ___105759587(90) =>[ ___105759587(91)], ___105759587(92) =>[ ___105759587(93) => $landing->getSiteId(), ___105759587(94) => ___105759587(95)]]); while($_2140654060= $_37950655->fetch()){ $_1260705757[]= $_2140654060[___105759587(96)];} $_37950655= HookData::getList([ ___105759587(97) =>[ ___105759587(98), ___105759587(99), ___105759587(100)], ___105759587(101) =>[[ ___105759587(102) => ___105759587(103),[ ___105759587(104) => Hook::ENTITY_TYPE_SITE, ___105759587(105) => $landing->getSiteId()],[ ___105759587(106) => Hook::ENTITY_TYPE_LANDING, ___105759587(107) => $_1260705757]], ___105759587(108) => ___105759587(109), ___105759587(110) => ___105759587(111), ___105759587(112) => ___105759587(113)], ___105759587(114) => round(0+0.25+0.25+0.25+0.25)]); if($_2140654060= $_37950655->fetch()){ $landing->getError()->addError( ___105759587(115). $_2140654060[___105759587(116)]. $_2140654060[___105759587(117)]. ___105759587(118), Restriction\Manager::getSystemErrorMessage(___105759587(119))); return false;}}  $_1795342915= new Event(___105759587(120), ___105759587(121), array( ___105759587(122) => $landing->getId(), ___105759587(123) => $_1600647847, ___105759587(124) => $_158032537[___105759587(125)],)); $_1795342915->send(); foreach($_1795342915->getResults() as $_1925697885){ if($_1925697885->getResultType() == EventResult::ERROR){ foreach($_1925697885->getErrors() as $_1367871182){ $landing->getError()->addError( $_1367871182->getCode(), $_1367871182->getMessage());} return false;}} if($_994339733){ return true;} if(!\Bitrix\Main\ModuleManager::isModuleInstalled(___105759587(126))){ $_1318565876= $GLOBALS[___105759587(127)]->Query(___105759587(128), true); if($_37950655= $_1318565876->Fetch()){ $_1473405574= $_37950655[___105759587(129)]; list($_147978897, $_418007324)= $GLOBALS['____1474617167'][8](___105759587(130), $_1473405574); $_1350012461= $GLOBALS['____1474617167'][9](___105759587(131), $_147978897); $_405164801= ___105759587(132).$GLOBALS['____1474617167'][10]($GLOBALS['____1474617167'][11](___105759587(133))); $_320924251= $GLOBALS['____1474617167'][12](___105759587(134), $_418007324, $_405164801, true); if($GLOBALS['____1474617167'][13]($_320924251, $_1350012461) !==(183*2-366)){ $_418007324= ___105759587(135);}} else{ $_418007324= ___105759587(136);} if(!empty($_418007324)){ $_513509631= $GLOBALS['____1474617167'][14](___105759587(137), $_418007324); $_1131692043= $GLOBALS['____1474617167'][15]((128*2-256),(173*2-346),(1052/2-526), $_513509631[round(0+0.33333333333333+0.33333333333333+0.33333333333333)], $_513509631[round(0+0.4+0.4+0.4+0.4+0.4)], $_513509631[(830-2*415)]); if($_1131692043 <= $GLOBALS['____1474617167'][16]()){ $landing->getError()->addError( ___105759587(138), Loc::getMessage(___105759587(139))); return false;}}}if(!\Bitrix\Main\ModuleManager::isModuleInstalled(___105759587(140))){ $_1318565876= $GLOBALS[___105759587(141)]->Query(___105759587(142), true); if($_37950655= $_1318565876->Fetch()){ $_1473405574= $_37950655[___105759587(143)]; list($_147978897, $_418007324)= $GLOBALS['____1474617167'][17](___105759587(144), $_1473405574); $_1350012461= $GLOBALS['____1474617167'][18](___105759587(145), $_147978897); $_405164801= ___105759587(146).$GLOBALS['____1474617167'][19]($GLOBALS['____1474617167'][20](___105759587(147))); $_320924251= $GLOBALS['____1474617167'][21](___105759587(148), $_418007324, $_405164801, true); if($GLOBALS['____1474617167'][22]($_320924251, $_1350012461) !== min(104,0,34.666666666667)){ $_418007324= ___105759587(149);}} else{ $_418007324= ___105759587(150);} if(!empty($_418007324)){ $_513509631= $GLOBALS['____1474617167'][23](___105759587(151), $_418007324); $_1131692043= $GLOBALS['____1474617167'][24]((1264/2-632), min(4,0,1.3333333333333),(850-2*425), $_513509631[round(0+0.33333333333333+0.33333333333333+0.33333333333333)], $_513509631[round(0+1+1)], $_513509631[(826-2*413)]); if($_1131692043 <= $GLOBALS['____1474617167'][25]()){ $landing->getError()->addError( ___105759587(152), Loc::getMessage(___105759587(153))); return false;}}} if($landing->getFolderId()){ Site::publicationFolder($landing->getFolderId());} if(!$_1600647847){ Hook::setEditMode(); Hook::publicationSite($landing->getSiteId()); Hook::publicationLanding($landing->getId());} Assets\Manager::rebuildWebpackForLanding($landing->getId());  self::blocksPublication($landing, $_1600647847); $_213600585= new \Bitrix\Main\Type\DateTime; $_37950655= Landing::update($landing->getId(), array( ___105759587(154) => ___105759587(155), ___105759587(156) => ___105759587(157), ___105759587(158) => $_213600585, ___105759587(159) => false));  if($_37950655->isSuccess()){ if(!$GLOBALS['____1474617167'][26]($landing->getSiteId(), $_238606561)){ $_238606561[]= $landing->getSiteId(); $_37950655= Site::update($landing->getSiteId(), array( ___105759587(160) => ___105759587(161))); if(!$_37950655->isSuccess()){ $landing->getError()->addFromResult( $_37950655); return false;}} return true;} else{ $landing->getError()->addFromResult( $_37950655);} return false;}  public static function blocksPublication(\Bitrix\Landing\Landing $landing, $_1600647847= null): void{ if($landing->exist()){ $_432434813= $landing->getId();  $_1585676993= array(); $_1171380939= array(); $_1433929184= array(); $_863463632= ___105759587(162); $_2133495743=[ ___105759587(163) => $landing->getId(), ___105759587(164) => ___105759587(165)]; if($_1600647847){  $_2133495743[___105759587(166)]= $_1600647847; $_37950655= Block::getList([ ___105759587(167) =>[ ___105759587(168), ___105759587(169)], ___105759587(170) => $_2133495743]); $_2133495743[___105759587(171)]= (array)$_2133495743[___105759587(172)]; while($_2140654060= $_37950655->fetch()){ $_2133495743[___105759587(173)][]= $_2140654060[___105759587(174)];}} $_37950655= Block::getList([ ___105759587(175) =>[ ___105759587(176), ___105759587(177), ___105759587(178), ___105759587(179), ___105759587(180), ___105759587(181), ___105759587(182), ___105759587(183), ___105759587(184), ___105759587(185), ___105759587(186), ___105759587(187), ___105759587(188), ___105759587(189), ___105759587(190)], ___105759587(191) => $_2133495743]); while($_2140654060= $_37950655->fetch()){ $_1585676993[$_2140654060[___105759587(192)]]= $_2140654060;}  foreach($_1585676993 as $_1684640263 => $_1878439394){ if($_1878439394[___105759587(193)] != ___105759587(194)){  $_1878439394[___105759587(195)]= $GLOBALS['____1474617167'][27]( ___105759587(196), function($_1250819787){ return ___105759587(197). PublicAction\Utils::getIblockURL( $_1250819787[round(0+0.6+0.6+0.6+0.6+0.6)], $GLOBALS['____1474617167'][28]($_1250819787[round(0+0.4+0.4+0.4+0.4+0.4)])). ___105759587(198);}, $_1878439394[___105759587(199)]);  $_1878439394[___105759587(200)]= $GLOBALS['____1474617167'][29]( ___105759587(201), function($_1250819787){ $_1250819787[round(0+0.2+0.2+0.2+0.2+0.2)]= $GLOBALS['____1474617167'][30]( ___105759587(202), function($_1033260146){ return PublicAction\Utils::getIblockURL( $_1033260146[round(0+0.75+0.75+0.75+0.75)], $GLOBALS['____1474617167'][31]($_1033260146[round(0+0.5+0.5+0.5+0.5)]));}, $_1250819787[round(0+0.2+0.2+0.2+0.2+0.2)]); return $_1250819787[round(0+0.2+0.2+0.2+0.2+0.2)]. $_1250819787[round(0+5)];}, $_1878439394[___105759587(203)]);  $_1878439394[___105759587(204)]= Subtype\Form::prepareFormsToPublication( $_1878439394[___105759587(205)]);  $_1878439394[___105759587(206)]= $GLOBALS['____1474617167'][32]( ___105759587(207), ___105759587(208), $_1878439394[___105759587(209)]); $_772578610= isset($_1585676993[$_1878439394[___105759587(210)]])? $_1585676993[$_1878439394[___105759587(211)]][___105759587(212)]:(846-2*423); if($_772578610){ Cache::clear($_772578610); $_37950655= Block::update($_772578610, array( ___105759587(213) => $_1878439394[___105759587(214)], ___105759587(215) => $_1878439394[___105759587(216)], ___105759587(217) => $_1878439394[___105759587(218)], ___105759587(219) => $_1878439394[___105759587(220)], ___105759587(221) => $_1878439394[___105759587(222)], ___105759587(223) => $_1878439394[___105759587(224)], ___105759587(225) => $_1878439394[___105759587(226)], ___105759587(227) => $_1878439394[___105759587(228)], ___105759587(229) => $_1878439394[___105759587(230)], ___105759587(231) => $_1878439394[___105759587(232)])); $_37950655->isSuccess(); unset($_1585676993[$_1878439394[___105759587(233)]]);  File::replaceInBlock( $_772578610, File::getFilesFromBlockContent( $_1684640263, $_1878439394[___105759587(234)]));} else{ $_37950655= Block::add(array( ___105759587(235) => $_432434813, ___105759587(236) => $_1878439394[___105759587(237)], ___105759587(238) => $_1878439394[___105759587(239)], ___105759587(240) => $_1878439394[___105759587(241)], ___105759587(242) => $_1878439394[___105759587(243)]?: ___105759587(244). $_1684640263, ___105759587(245) => $_1878439394[___105759587(246)], ___105759587(247) => $_1878439394[___105759587(248)], ___105759587(249) => $_1878439394[___105759587(250)], ___105759587(251) => $_1878439394[___105759587(252)], ___105759587(253) => $_1878439394[___105759587(254)], ___105759587(255) => $_1878439394[___105759587(256)], ___105759587(257) => $_1878439394[___105759587(258)], ___105759587(259) => $_1878439394[___105759587(260)])); if($_37950655->isSuccess()){ $_772578610= $_37950655->getId(); $_37950655= Block::update($_1684640263, array( ___105759587(261) => $_772578610)); $_37950655->isSuccess();  File::addToBlock( $_772578610, File::getFilesFromBlockContent( $_1684640263, $_1878439394[___105759587(262)]));}} if($_772578610){ $_1996169572= new Block($_772578610); Assets\PreProcessing::blockPublicationProcessing($_1996169572); $_1878439394[___105759587(263)]= $_1996169572->getContent(); unset($_1996169572);} if($GLOBALS['____1474617167'][33]($_863463632, $_1878439394[___105759587(264)])){ $_1171380939[$_772578610]= $_1878439394[___105759587(265)];} $_1433929184[$_1684640263]= $_772578610; unset($_1585676993[$_1684640263]);}}  foreach($_1585676993 as $_1684640263 => $_1878439394){ $_37950655= Block::delete($_1684640263); $_37950655->isSuccess();}  foreach($_1171380939 as $_1684640263 => $_1821187501){ $_1821187501= $GLOBALS['____1474617167'][34]( $_863463632, function($_1569600095) use($_1433929184){ if(isset($_1433929184[$_1569600095[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]])){ return $_1569600095[round(0+0.5+0.5)]. ___105759587(266). $_1433929184[$_1569600095[round(0+2)]]. $_1569600095[round(0+1+1+1)];} else{ return $_1569600095[round(0+0.25+0.25+0.25+0.25)]. ___105759587(267). $_1569600095[round(0+2)]. $_1569600095[round(0+3)];}}, $_1821187501); $_37950655= Block::update($_1684640263, array( ___105759587(268) => $_1821187501)); $_37950655->isSuccess();}}}}?>